<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Third Party Services
    |--------------------------------------------------------------------------
    |
    | This file is for storing the credentials for third party services such
    | as Stripe, Mailgun, SparkPost and others. This file provides a sane
    | default location for this type of information, allowing packages
    | to have a conventional place to find your various credentials.
    |
    */

    'mailgun' => [
        'domain' => env('MAILGUN_DOMAIN'),
        'secret' => env('MAILGUN_SECRET'),
        'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
    ],

    'ses' => [
        'key' => env('SES_KEY'),
        'secret' => env('SES_SECRET'),
        'region' => env('SES_REGION', 'us-east-1'),
    ],

    'sparkpost' => [
        'secret' => env('SPARKPOST_SECRET'),
    ],

    'stripe' => [
        'model' => App\Models\User::class,
        'key' => env('STRIPE_KEY'),
        'secret' => env('STRIPE_SECRET'),
        'webhook' => [
            'secret' => env('STRIPE_WEBHOOK_SECRET'),
            'tolerance' => env('STRIPE_WEBHOOK_TOLERANCE', 300),
        ],
    ],

    // 微博短网址配置

    'weibo' => [
        'appkey' => env('WEIBO_APPKEY'),
        'secret'   => env('WEIBO_SECRET'),
    ],

    // 腾讯统计

    'tx_tongji' => [
        'appid' => env('TX_MTA_APPID'),
        'key'   => env('TX_MTA_APPKEY'),
        'sid'   => env('TX_MTA_SID'),
        'cid'   => env('TX_MTA_CID'),
    ],

    // 百度 baidu_dwz
    'baidu_dwz' => [
      'token' => env('BAIDU_DWZ_TOKEN')
    ],

    // 易用 API 参数
    'showapi' => [
      'appid' => 71131,
      'secret' => '703e7d64a5bd4b01b78a1c895e9de4e4'
    ]

];
